package com.sunky.db.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class EquipInfo {

    /**
     * id :y
     * equipType :y
     * equipTypeName :y
     * equipName :y
     * unitName :y
     * equipProducer :y
     * equipSerialNo :?
     * equipSize :
     * equipWeight :
     * mainFunction :
     * mainQuato :
     * measureUnit :
     * serialNo :
     * producerDate :
     * issueDate :
     * carNo :
     * bottomNo :
     * engineNo :
     * equipCount :
     * responsePerson :
     * useState :
     * tecState :
     * codeInfo :?
     * mainEquip : [{"equipName":"","equipProducer":"","produceDate":"","equipCount":""}]
     * classType : [{"serviceName":"","serviceCount":""}]
     * userInterface : [{"interfaceName":"","interfaceCount":""}]
     */
    @Id
    private long id;
    private String equipType;
    private String equipTypeName;
    private String equipName;
    private String unitName;
    private String equipProducer;
    private String equipSerialNo;
    private String equipSize;
    private String equipWeight;
    private String mainFunction;
    private String mainQuato;
    private String measureUnit;
    private String serialNo;
    private String producerDate;
    private String issueDate;
    private String carNo;
    private String bottomNo;
    private String engineNo;
    private String equipCount;
    private String responsePerson;
    private String useState;
    private String tecState;
    private String codeInfo;
    private String mainEquip;
    private String classType;
    private String userInterface;
//    @ToMany(referencedJoinProperty = "id")
//    private List<MainEquipBean> mainEquip;
//    @ToMany(referencedJoinProperty = "id")
//    private List<ClassTypeBean> classType;
//    @ToMany(referencedJoinProperty = "id")
//    private List<UserInterfaceBean> userInterface;


    @Generated(hash = 60701651)
    public EquipInfo(long id, String equipType, String equipTypeName, String equipName,
            String unitName, String equipProducer, String equipSerialNo, String equipSize,
            String equipWeight, String mainFunction, String mainQuato, String measureUnit,
            String serialNo, String producerDate, String issueDate, String carNo,
            String bottomNo, String engineNo, String equipCount, String responsePerson,
            String useState, String tecState, String codeInfo, String mainEquip,
            String classType, String userInterface) {
        this.id = id;
        this.equipType = equipType;
        this.equipTypeName = equipTypeName;
        this.equipName = equipName;
        this.unitName = unitName;
        this.equipProducer = equipProducer;
        this.equipSerialNo = equipSerialNo;
        this.equipSize = equipSize;
        this.equipWeight = equipWeight;
        this.mainFunction = mainFunction;
        this.mainQuato = mainQuato;
        this.measureUnit = measureUnit;
        this.serialNo = serialNo;
        this.producerDate = producerDate;
        this.issueDate = issueDate;
        this.carNo = carNo;
        this.bottomNo = bottomNo;
        this.engineNo = engineNo;
        this.equipCount = equipCount;
        this.responsePerson = responsePerson;
        this.useState = useState;
        this.tecState = tecState;
        this.codeInfo = codeInfo;
        this.mainEquip = mainEquip;
        this.classType = classType;
        this.userInterface = userInterface;
    }

    @Generated(hash = 513424678)
    public EquipInfo() {
    }


    public long getId() {
        return id;
    }

    public String getEquipType() {
        return equipType;
    }

    public String getEquipTypeName() {
        return equipTypeName;
    }

    public String getEquipName() {
        return equipName;
    }

    public String getUnitName() {
        return unitName;
    }

    public String getEquipProducer() {
        return equipProducer;
    }

    public String getEquipSerialNo() {
        return equipSerialNo;
    }

    public String getEquipSize() {
        return equipSize;
    }

    public String getEquipWeight() {
        return equipWeight;
    }

    public String getMainFunction() {
        return mainFunction;
    }

    public String getMainQuato() {
        return mainQuato;
    }

    public String getMeasureUnit() {
        return measureUnit;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public String getProducerDate() {
        return producerDate;
    }

    public String getIssueDate() {
        return issueDate;
    }

    public String getCarNo() {
        return carNo;
    }

    public String getBottomNo() {
        return bottomNo;
    }

    public String getEngineNo() {
        return engineNo;
    }

    public String getEquipCount() {
        return equipCount;
    }

    public String getResponsePerson() {
        return responsePerson;
    }

    public String getUseState() {
        return useState;
    }

    public String getTecState() {
        return tecState;
    }

    public String getCodeInfo() {
        return codeInfo;
    }

    public String getMainEquip() {
        return mainEquip;
    }

    public String getClassType() {
        return classType;
    }

    public String getUserInterface() {
        return userInterface;
    }

    public void setId(long id) {
        this.id = id;
    }

    public void setEquipType(String equipType) {
        this.equipType = equipType;
    }

    public void setEquipTypeName(String equipTypeName) {
        this.equipTypeName = equipTypeName;
    }

    public void setEquipName(String equipName) {
        this.equipName = equipName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public void setEquipProducer(String equipProducer) {
        this.equipProducer = equipProducer;
    }

    public void setEquipSerialNo(String equipSerialNo) {
        this.equipSerialNo = equipSerialNo;
    }

    public void setEquipSize(String equipSize) {
        this.equipSize = equipSize;
    }

    public void setEquipWeight(String equipWeight) {
        this.equipWeight = equipWeight;
    }

    public void setMainFunction(String mainFunction) {
        this.mainFunction = mainFunction;
    }

    public void setMainQuato(String mainQuato) {
        this.mainQuato = mainQuato;
    }

    public void setMeasureUnit(String measureUnit) {
        this.measureUnit = measureUnit;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public void setProducerDate(String producerDate) {
        this.producerDate = producerDate;
    }

    public void setIssueDate(String issueDate) {
        this.issueDate = issueDate;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public void setBottomNo(String bottomNo) {
        this.bottomNo = bottomNo;
    }

    public void setEngineNo(String engineNo) {
        this.engineNo = engineNo;
    }

    public void setEquipCount(String equipCount) {
        this.equipCount = equipCount;
    }

    public void setResponsePerson(String responsePerson) {
        this.responsePerson = responsePerson;
    }

    public void setUseState(String useState) {
        this.useState = useState;
    }

    public void setTecState(String tecState) {
        this.tecState = tecState;
    }

    public void setCodeInfo(String codeInfo) {
        this.codeInfo = codeInfo;
    }

    public void setMainEquip(String mainEquip) {
        this.mainEquip = mainEquip;
    }

    public void setClassType(String classType) {
        this.classType = classType;
    }

    public void setUserInterface(String userInterface) {
        this.userInterface = userInterface;
    }
}
